package cc.rengu.igas.channel.cpcn.facade.request;

import cc.rengu.igas.channel.cpcn.facade.base.BaseRequest;
import cc.rengu.igas.channel.cpcn.facade.bean.BankAcctInfoBean;

import java.io.Serializable;

/**
 * @author wukefan
 * @version 1.0.0
 * @date 2020/7/22 11:14
 * Header-txnNum-1131
 * 中金支付-商户订单支付退款
 */
public class CpcnMchntOrderPayRefundRequest extends BaseRequest implements Serializable {
    /*机构编号 中金*/
    private String institutionId;
    /*退款交易流水号*/
    private String serialNumber;
    /*原支付交易流水号*/
    private String paymentNo;
    /*退款金额*/
    private String amount;
    /*备注*/
    private String remark;
    /*账户类型：
    11=个人账户
    12=企业账户
    20=支付平台内部账户
    */
    private String accountType;
    /*账户名称（支付平台账户）accountType为20=支付平台内部账户时必填*/
    private String paymentAccountName;
    /*账户号码（支付平台账户）当 AccountType=20 时必填*/
    private String paymentAccountNumber;
    /*收款方银行账户 当 AccountType=11/12 时必填*/
    private BankAcctInfoBean bankAccount;


    public String getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(String institutionId) {
        this.institutionId = institutionId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getPaymentNo() {
        return paymentNo;
    }

    public void setPaymentNo(String paymentNo) {
        this.paymentNo = paymentNo;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getPaymentAccountName() {
        return paymentAccountName;
    }

    public void setPaymentAccountName(String paymentAccountName) {
        this.paymentAccountName = paymentAccountName;
    }

    public String getPaymentAccountNumber() {
        return paymentAccountNumber;
    }

    public void setPaymentAccountNumber(String paymentAccountNumber) {
        this.paymentAccountNumber = paymentAccountNumber;
    }

    public BankAcctInfoBean getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(BankAcctInfoBean bankAccount) {
        this.bankAccount = bankAccount;
    }
}
